<?php
$this->breadcrumbs=array(
	'Inventory Items'=>array('inventory/items'),
	'Create',
);

?>

<?php if(Yii::app()->user->hasFlash('notify')): ?>

<div class="notifyBox">
	<?php echo Yii::app()->user->getFlash('notify'); ?>
	<ul>
		<li><a href="<?php echo $this->createUrl("item/view/id/{$item->id}"); ?>">View Item</a></li>
	</ul>
</div>

<?php endif; ?>

<h1>New Item</h1>

<?php echo $this->renderPartial('_form', array(
											'item' => $item,
											'inventoryBatch' => $inventoryBatch,
											'itemCost' => $itemCost
											)); ?>